package com.impzx.iwframe.persist.dao.impl;

import com.impzx.iwframe.persist.dao.UserDao;
import com.impzx.iwframe.persist.model.User;

public class UserDaoImpl extends DaoBase<User> implements UserDao {

	public UserDaoImpl() {
		super.prefix = this.getClass().getName();
	}
	
	@Override
	public int addUser(User user) {
		super.insert(user);
		return user.getUserId();
	}

	public static void main(String[] args) {
		System.out.println(UserDaoImpl.class.getName());
	}
}
